package com.ruin.tech.ahri.service;

import com.ruin.tech.ahri.model.dto.CalculatorDTO;

import java.util.List;

/**
 * @author: yuegc
 * @description: 房贷计算
 * @create: 2019/12/13 14:01
 */
public interface ICalculator {

    /**
     * 等额本息
     * @param calculatorDTO
     * @return
     */
    List<String> equalInstallmentsOfPrincipalAndInterest(CalculatorDTO calculatorDTO);

    /**
     * 等额本金
     * @param calculatorDTO
     * @return
     */
    List<String> equivalentPrincipal(CalculatorDTO calculatorDTO);
}
